package com.waar.kickball.positions;

/**
 * @author Lance Burk
 *Copyright Lance + Craig 2013
 * 
 */
public enum Positions {
	PITCHER("Pitcher",477, 782),
	CATCHER("Catcher", 477, 1174),
	FIRSTBASE("First Base", 867, 905),
	SECONDBASE("Second Base", 719, 635),
	THIRDBASE("Third Base", 107, 903),
	SHORTSTOP("Short Stop", 239, 632),
	RIGHTFIELD("Right Field", 864, 435),
	SHORTFIELD("Short Field",480, 290),
	LEFTFIELD("Left Field", 101, 435),
	RIGHTCENTER("Right Center", 747, 135),
	LEFTCENTER("Left Center", 211, 137);
//	KICKER("Kicker", 0, 0);
	
	
	private String name;
	private int imageBoxOffsetWidth;
	private int imageBoxOffsetHeight;
	
	private Positions(String name, int imageBoxOffsetWidth, int imageBoxOffsetHeight){
		this.name = name;
		this.imageBoxOffsetWidth = imageBoxOffsetWidth;
		this.imageBoxOffsetHeight = imageBoxOffsetHeight;
	}
	
	/**
	 * 
	 * @return position anme
	 */
	public String getName() {
		return name;
	}

	/**
	 *  sets position name shit head.
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * 
	 * @return offset for position box on line up image
	 */
	public int getImageBoxOffsetWidth() {
		return imageBoxOffsetWidth;
	}

	/**
	 * 
	 * @param imageBoxOffset box offset in lineup image
	 */
	public void setImageBoxOffsetWidth(int imageBoxOffsetWidth) {
		this.imageBoxOffsetWidth = imageBoxOffsetWidth;
	}
	
	/**
	 * 
	 * @return image offsetheight
	 */
	public int getImageBoxOffsetHeight() {
		return imageBoxOffsetHeight;
	}

	/**
	 * set image offset heigh
	 * @param imageBoxOffsetHeight
	 */
	public void setImageBoxOffsetHeight(int imageBoxOffsetHeight) {
		this.imageBoxOffsetHeight = imageBoxOffsetHeight;
	}

	
}
